package com.jzcn.service.impl;

import com.jzcn.common.base.BaseServiceImpl;
import com.jzcn.mapper.SysRoleResourcesMapper;
import com.jzcn.domain.SysRoleResources;
import com.jzcn.service.SysRoleResourcesService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleResourcesServiceImpl extends BaseServiceImpl<SysRoleResourcesMapper, SysRoleResources> implements SysRoleResourcesService {
    @Override
    public List<String> findPermListByUserId(Integer id) {
        return baseMapper.findPermListByUserId(id);
    }

    @Override
    public List<SysRoleResources> listAll() {
        return super.list();
    }
}
